package com.aqian.theme.color.happy.data.model

data class Theme(
    val id: String,
    val name: String,
    val description: String = "",
    val previewUrl: String,
    val downloadUrl: String = "",
    val author: String = "",
    val rating: Float = 0f,
    val downloads: Int = 0,
    val price: Float = 0f,
    val category: String = "默认分类",
    val tags: List<String> = emptyList(),
    val createdAt: Long = System.currentTimeMillis(),
    val updatedAt: Long = System.currentTimeMillis()
)

// 模拟数据
object ThemeMockData {
    val mockThemes = listOf(
        Theme(
            id = "1",
            name = "简约白",
            description = "极简主义设计风格",
            previewUrl = "https://example.com/theme1.jpg",
            downloadUrl = "https://example.com/download/theme1",
            author = "设计师A",
            rating = 4.5f,
            downloads = 10000,
            price = 0f,
            category = "极简",
            tags = listOf("白色", "简约", "清新"),
            createdAt = System.currentTimeMillis(),
            updatedAt = System.currentTimeMillis()
        ),
        Theme(
            id = "2",
            name = "暗黑模式",
            description = "护眼深色主题",
            previewUrl = "https://example.com/theme2.jpg",
            downloadUrl = "https://example.com/download/theme2",
            author = "设计师B",
            rating = 4.8f,
            downloads = 15000,
            price = 0f,
            category = "深色",
            tags = listOf("黑色", "暗色", "护眼"),
            createdAt = System.currentTimeMillis(),
            updatedAt = System.currentTimeMillis()
        ),
        Theme(
            id = "3",
            name = "少女粉",
            description = "清新可爱风格",
            previewUrl = "https://example.com/theme3.jpg",
            downloadUrl = "https://example.com/download/theme3",
            author = "设计师C",
            rating = 4.7f,
            downloads = 12000,
            price = 0f,
            category = "可爱",
            tags = listOf("粉色", "可爱", "少女"),
            createdAt = System.currentTimeMillis(),
            updatedAt = System.currentTimeMillis()
        )
    )
}
